package com.fuyao.cloud.asset.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 资产分类导出类
 *
 * @author lyhil
 * @date 2021/11/17
 */
@Data
@ColumnWidth(30)
@ApiModel(value = "资类型号导出类")
public class SauPageVO {

	@ApiModelProperty(value="主键")
	private Long id;

	@ApiModelProperty(value="标准型号ID用于关联清单ID")
	private Long sauId;

	@ApiModelProperty(value="附件ID")
	private String unid;

	@ApiModelProperty(value="条形码")
	private String barcode;

	@ApiModelProperty(value="名称")
	private String name;

	@ApiModelProperty(value="规格型号")
	private String model;

	@ApiModelProperty(value="金额")
	private BigDecimal amount;

	@ApiModelProperty(value="计量单位")
	private String unit;

	@ApiModelProperty(value="照片")
	private String photo;


	@ApiModelProperty(value="资产分类ID")
	private Long ctiId;

	@ApiModelProperty(value="资产分类全名称")
	private String classified;

	@ApiModelProperty(value="资产分类类型")
	private String ctiType;

	@ApiModelProperty(value="资产分类全编码")
	private String classifiedCode;

	@ApiModelProperty(value = "所属父类的ID")
	private Long ctiParentId;

	@ApiModelProperty(value = "资产分类类型(DEVICE:资产类；CONSUMABLES)")
	private String assetType;

	@ApiModelProperty(value = "下拉框包括{0：批次管理、1加权平均}默认为：批次管理            ")
	private String accountingMethod;

	@ApiModelProperty(value = "所属父类名称")
	private String ctiParentName;

	@ApiModelProperty(value = "分类名称")
	private String ctiName;

	@ApiModelProperty(value = "分类编码")
	private String ctiCode;

	@ApiModelProperty(value = "分类全名称")
	private String ctiFullName;

	@ApiModelProperty(value = "分类全编码")
	private String ctiFullCode;
}
